host-interaction/process

get current PID on Linux

rule:
  meta:
    name: get current PID on Linux
    namespace: host-interaction/process
    authors:
      - michael.hunhoff@mandiant.com
    scopes:
      static: basic block
      dynamic: call
  features:
    - and:
      - or:
        - os: linux
        - os: android
      - or:
        - api: getpid
        - api: getppid

last edited: 2024-04-23 11:49:05